<?php
function getIsvalidate($value){
    $out = '';
    switch($value){
        case 1:
            $out = 'Active';
            break;
        case 2:
            $out = 'Not Active';
            break;
    }
    return $out;
}
?>
<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('username')); ?>:</b>
	<?php echo CHtml::encode($data->username); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('password')); ?>:</b>
	<?php echo CHtml::encode($data->password); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('email')); ?>:</b>
	<?php echo CHtml::encode($data->email); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('home_page')); ?>:</b>
	<?php echo CHtml::encode($data->home_page); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('registered_time')); ?>:</b>
	<?php echo CHtml::encode($data->registered_time); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('update_time')); ?>:</b>
	<?php echo CHtml::encode($data->update_time); ?>
	<br />

	<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('display_name')); ?>:</b>
	<?php echo CHtml::encode($data->display_name); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('status')); ?>:</b>
	<?php echo CHtml::encode($data->status); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('active_code')); ?>:</b>
	<?php echo CHtml::encode($data->active_code); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('is_validated')); ?>:</b>
	<?php echo CHtml::encode($data->is_validated); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('role')); ?>:</b>
	<?php echo CHtml::encode($data->role); ?>
	<br />

	*/ ?>

</div>